home *** CD-ROM | disk | FTP | other *** search
/ Magazyn WWW 1999 April / cd24-www.iso / prog / mac / snak / snak.hqx / Snak 2.0.2 / Scripts / nicks < prev    next >
Text File  |  1998-06-25  |  393b  |  25 lines

  1. # Kent Sorensen 06/25/98 : this file is from the standard distribution of ircII
  2.  
  3. # This lets you assign aliases for peoples nicknames.
  4. # For example, of you do: /ASSIGN BC BigCheese
  5. # Then you can do: /MSG BC Hi there!
  6.  
  7. alias msg {
  8.     if ( [$($0)] )
  9.     {
  10.         ${K}${K}msg $($0) $1-
  11.     }
  12.     {
  13.         ${K}${K}msg $0 $1-
  14.     }
  15. }
  16. alias query {
  17.     if ( [$($0)] )
  18.     {
  19.         ${K}${K}query $($0)
  20.     }
  21.     {
  22.         ${K}${K}query $0-
  23.     }
  24. }
  25.